package com.opbx.callCenter.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.opbx.common.annotation.Excel;
import com.opbx.common.core.domain.BaseEntity;

/**
 * 分机设置对象 call_center_extension
 * 
 * @author opbx
 * @date 2024-06-05
 */
public class CallCenterExtension extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 用户id */
    @Excel(name = "用户id")
    private String userid;

    /** 主键 */
    private Long id;

    /** 密码 */
    @Excel(name = "密码")
    private String password;

    /** 分机名称 */
    @Excel(name = "分机名称")
    private String extName;

    /** 注册状态0:不允许，1：允许注册 */
    @Excel(name = "注册状态0:不允许，1：允许注册")
    private Integer registerStatus;

    public void setUserid(String userid) 
    {
        this.userid = userid;
    }

    public String getUserid() 
    {
        return userid;
    }
    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setPassword(String password) 
    {
        this.password = password;
    }

    public String getPassword() 
    {
        return password;
    }
    public void setExtName(String extName) 
    {
        this.extName = extName;
    }

    public String getExtName() 
    {
        return extName;
    }
    public void setRegisterStatus(Integer registerStatus) 
    {
        this.registerStatus = registerStatus;
    }

    public Integer getRegisterStatus() 
    {
        return registerStatus;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("userid", getUserid())
            .append("id", getId())
            .append("password", getPassword())
            .append("extName", getExtName())
            .append("registerStatus", getRegisterStatus())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
